import React, { useMemo, useState, useEffect } from 'react'
import './pay.css'
import { Button, SearchBar, Radio, Toast, NavBar } from 'antd-mobile'
import axios from 'axios'
import { useNavigate, useLocation } from 'react-router-dom'

export default function pay() {
    const navigate = useNavigate()
    const back = () => {
        navigate(-1)
    }
  return (
    <div className='pay'>
        <div className='pay-top'>
         <NavBar onBack={back} ><b>支付结果</b></NavBar>
        </div>
        <div className='pay-content'>
            <img src='../../public/fair/pay.png'></img>
        </div>
        <div className='pay-bottom'>
           <div className='pay-bottom-btn'>查看订单</div>
           <div className='pay-bottom-btn2' onClick={()=>{
               navigate('/app/home')
           }}>返回首页</div>
        </div>
        
    </div>
  )
}
